package com.rd.student.jiaji.class4.suyan.zrrd.homework;

public class 求1的阶乘 {
    public static void main(String[] args) {
        int sum=0;

        for (int i=0;i<=100;i++){
            for (int j=0;j<=i;j++){
                sum=sum+i;

                System.out.println(sum);
            }



        }
    }
}
